package com.hyst.domain;

import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.springframework.format.annotation.DateTimeFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
/**
* 系统用户表实体
*/
@Data
@ApiModel(value = "系统用户表", description = "")

public class Admin {
	

	@ApiModelProperty(value = "id")
	private Integer id;

	@Id
	@ApiModelProperty(value = "uniqueid")
	private String uniqueid;

	@ApiModelProperty(value = "登录名")
	private String uname;

	@ApiModelProperty(value = "password")
	private String password;

	@ApiModelProperty(value = "真实名字")
	private String name;

	@ApiModelProperty(value = "状态")
	private Integer state;

	@ApiModelProperty(value = "所属角色")
	private String role;

	@ApiModelProperty(value = "Email")
	private String Email;

	@ApiModelProperty(value = "基本工资")
	private BigDecimal baseSalary;

	@ApiModelProperty(value = "工龄工资")
	private BigDecimal workingSalary;

	@ApiModelProperty(value = "社保个人承担")
	private BigDecimal selfSocialFee;

	@ApiModelProperty(value = "社保单位承担")
	private BigDecimal companySocialFee;

	@ApiModelProperty(value = "外教费用")
	private BigDecimal foreignFee;

	@ApiModelProperty(value = "上次登陆ip")
	private String lastIp;

	@ApiModelProperty(value = "上次登陆时间")
	private Date loginTime;

	@ApiModelProperty(value = "is_delete")
	private Integer isDelete;

	// 排序方式
	@Transient
	private String sort = "DESC";

	@Transient
	private int pageNum = 1;

	@Transient
	private int pageSize = Integer.MAX_VALUE;
}
